#!/usr/bin/env python3
import datetime
import urllib.request


def downloadImgByDujin():
    datetimeStr = datetime.datetime.now().strftime('%Y-%m-%d')
    url = "https://api.dujin.org/bing/1920.php"
    urllib.request.urlretrieve(url, 'C:/Users/Think/Pictures/Saved Pictures/%s.jpg' % datetimeStr)

if __name__ == '__main__':
    downloadImgByDujin()
